package cn.bat.slsystem.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bat.slsystem.pojo.AuAuthority;

public interface AuAuthorityMapper {
	AuAuthority serch(@Param("roleid")int roleid,@Param("functionid")int functionid);
	
	int add(@Param("roleid")int roleid,@Param("functionid")int functionid);
	
	int del(@Param("roleid")int roleid);
	
	List serchid(@Param("roleid")int roleid);
	
	
    int deleteByPrimaryKey(Long id);

    int insert(AuAuthority record);

    int insertSelective(AuAuthority record);

    AuAuthority selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuAuthority record);

    int updateByPrimaryKey(AuAuthority record);
}